<?php 
defined('BASEPATH') OR exit('No direct script access allowed');

define('REFER_COINS', 10);

function encryptKey(){
	return "dhfbWEHD343RHT";
}

function mCrypt($id){
	return md5($id.encryptKey());
}

function cutString($string, $number = 10){
	$array_string = explode(' ', $string);
	if(count($array_string) <= $number){
		return $string;
	}else{
		$tmp = array();
		for($i = 0; $i< $number; $i++){
			$tmp[] = $array_string[$i];
		}
		return implode(' ',$tmp). " ...";
	}
}

function newCaptcha(){
	$ci = &get_instance();
	$ci->load->helper('captcha');
	$_SESSION['captcha'] = $ci->digit->rand_digit(5);
	
	$vals = array(
		'word' => $_SESSION['captcha'],
		'img_path' => './captcha/images/',
		'img_url' => site_url().'captcha/images/',
		'font_path' => './captcha/fonts/arial.ttf',
		'img_width' => '120',
		'img_height' => '30',
		'expiration' => 7200
		);

	$cap = create_captcha($vals);
	return $cap['image'];
}

function countriesOnTheWorldDataConfig(){
	$ci=& get_instance();
	$resultObj = $ci->db->get('default_world_countries')->result();
	
	$array_return = array();
	foreach($resultObj as $obj){
		$array_return[$obj->country_name] = $obj->country_name;
	}
	return $array_return;
}


function currencyDataConfig(){
	$ci=& get_instance();
	$currencyArray = $ci->currency_entity->getListCurrency();
	
	$tmpArr = array();// array('usd'=>'USD');
	foreach($currencyArray as $item){
		$tmpArr[$item->code] = $item->name;
	}
	if(!isset($tmpArr['USD'])){
		$tmpArr['USD'] = 'USD';
	}
	return $tmpArr;
}

function allowExtensionFileDocumentUpload(){
	return array('doc','docx','rtf','txt','pdf','ppt','xls','pptx','xlsx','png','gif','jpg','jpeg','bmp');
}

function allowExtensionPictureUpload(){
	return array('png','gif','jpg','jpeg','bmp');
}

function allowMaxFileSize(){
	//mb
	return 10;
}

function tournamentStatusDataConfig(){
	return array(
		'living' => 'Live',
		'upcoming' => 'Upcoming',
		'closed' => 'Closed',
		'cancelled' => 'Cancelled'
	);
}

function matchStatusDataConfig(){
	return array(
		'living' => 'Live',
		'upcoming' => 'Upcoming',
		'closed' => 'Closed',
		'cancelled' => 'Cancelled'
	);
}

function betStatusDataConfig(){
	return array(
		'yes'=> 'Enable',
		'no'=> 'Disable'
	);
}

function eventCategoryStatusDataConfig(){
	return array(
		'living'=>'Live',
		'cancelled'=>'Cancelled',
		'closed'=>'Closed',
	//	'upcoming'=>'UpComing'
	);
}

function eventStatusDataConfig(){
	return array(
		'living'=>'Live',
		'cancelled'=>'Cancelled',
		'closed'=>'Closed',
	//	'upcoming'=>'UpComing'
	);
}

function userBetStatusDataConfig(){
	return array(
		'betting'=>'Betting',
		'cancelled'=>'Cancelled',
		'finished'=>'Finished'
	);
}

function betResultDataConfig(){
	return array(
		'pending'=>'Pending',
		'won'=>'Won',
		'lost'=>'Lost',
		'cancelled'=> 'Coin Returned'
	);
}

function couponModeDataConfig(){
	return array(
		'single'	=> 'Single User',
		'multiple'	=> 'Multiple Users'
	);
}

function coinTypePackagesDataConfig(){
	return array(
		'online'  => 'Online Payment',
		'offline' => 'Offline Payment',
		'cod'	=> 'Cash On Delivery Payment'	
	);
}

function onlinePaymentTypeDataConfig(){
	return array(
		'paypal'	=> "Paypal",
		'ccavenue'	=> "CC-Avenue"
	);
}

function offlinePaymentTypeDataConfig(){
	return array(
		'bank_deposit'	=> 	'Bank Deposit',
		'neft_transfer'	=>	'NEFT transfer',
		'dd'			=>	'DD',
		'emoney_order'	=>	'e-Money Order'
	);
}

function codStatusDataConfig(){
	return array(
		'pending'	=> 'Pending',
		'completed'	=> 'Completed',
		'approved'	=> 'Approved',
		'cancelled'	=> 'Cancelled',
		'dispatched'=> 'Dispatched'
	);
}

function getManualCategoryConfig(){
	return array(
		'box'	=>	'Boxes',
		'range'	=>	'Range Denote'
	);
}

function getPredictTypeDataConfig(){
	return array(
		'all'			=> 'All',
		'predefined'	=> 'Predefined events',
		'manual'  		=> 'Manual Predictions',
		'tournament' 	=> 'Tournament Predictions',
		'manual_tournament'	=> 'Manual Tournament Predictions'
	);
}

function howManyWordToCut(){
	return 15;//words
}

function getMaxLengthWordManualBoxDataConfig(){
	return 255;
}

function rateConvertion($match_id){
	$ci=& get_instance();
	if($match_id != 0){
		$MATCH = $ci->match_entity->init('id', $match_id);
		return $MATCH->getConvertionRate();
	}else{
		return "0:0";
	}	
}

function getConvertionStatus($match_id){
	$ci=& get_instance();
	if($match_id != 0){
		$MATCH = $ci->match_entity->init('id', $match_id);
		return $MATCH->getEnableConvertion();
	}else{
		return "no";
	}
}

function preCoinForUserBetEvent($tournament_id){ 
	$ci=& get_instance();
	if($tournament_id != 0){
		$TOURNAMENT = $ci->tournament_entity->init('id', $tournament_id);
		return $TOURNAMENT->getFreeCoins();	
	}else{
		return 0;
	}
}

function getBonusCoint($case){
	$ci = &get_instance();
	$coint = 0;
	switch($case){
		case 'referFriend':
			$coint = $ci->module_helper->getSetting('coins_refer');//REFER_COINS;
			break;
		case 'fbLike':
			$coint = 10;break;
		default:
			$coint = 0;break;
	}
	return $coint;
}

function getLimitCoinStake($tournament_id){
	$ci=& get_instance();
	if($tournament_id != 0){
		$TOURNAMENT = $ci->tournament_entity->init('id', $tournament_id);
		return $TOURNAMENT->getLimitCoin() > 0 ? $TOURNAMENT->getLimitCoin(): 0;	
	}else{
		return 0;
	}
}

function getMinCoinStake($tournament_id){
	$ci=& get_instance();
	if($tournament_id != 0){
		$TOURNAMENT = $ci->tournament_entity->init('id', $tournament_id);
		return $TOURNAMENT->getMinCoin() > 0 ? $TOURNAMENT->getMinCoin() :0 ;	
	}else{
		return 0;
	}
}

function getEntryFeeDeducted($tournament_id){
	$ci=& get_instance();
	if($tournament_id != 0){
		$TOURNAMENT = $ci->tournament_entity->init('id', $tournament_id);
		return $TOURNAMENT->getEntryFee() > 0 ? $TOURNAMENT->getEntryFee() :0 ;	
	}else{
		return 0;
	}
}

function getPrizeObject($rank, $tournament_id){
	$ci = & get_instance();
	$prizeListArray = $ci->prize_entity->getArrayListOfPrize($tournament_id);
	$prizeId = 0;
	
	foreach($prizeListArray as $item){
		if($item->rank == $rank){
			$prizeId = $item->id;
			break;
		}
	}
	if($prizeId == 0){
		return NULL;
	}
	$PRIZE = clone_( $ci->prize_entity->init('id',$prizeId) );
	return $PRIZE;
}

function getMaxCoinsBetLimit(){
	$ci = & get_instance(); 
	$rs = $ci->db->where('id',1)->get('default_cpg_status')->result();
	return intval($rs[0]->name);
}


function statusOfActionDataConfig(){
	return array(
		'You_must_login_first'			=> 'You must login first',
		'Bet_of_this_event_is_disable'	=> 'Prediction for this Event is disabled currently. Kindly try again in a few Minutes.',
		'You_have_no_coin_to_bet'		=> 'You have no coin to predict',
		'Bet_of_this_event_is_outtime'	=> 'Predict of this event is timeout',
		'Place_bet_not_validated'		=> 'Predict not valid',
		'something_is_wrong_here'		=> 'Missing. Something are wrong here.',
		'not_enough_coin_to_bet'		=> 'Missing. You do not have coin enough to predict.',
		'Bet_successfully'				=> 'Prediction Recorded Successfully <br>You can check the status with the Prediction History Page',
		'Point_to_convert_not_valid'	=> 'Point to convert not valid',
		'point_not_enough_to_convert'	=> 'Your point is not enough to convert',
		'convertion_timeout'			=> 'Convertion time out',
		'convert_successfully'			=> 'Converted Successfully. <br> Points Deducted: %1 <br> Coins Credited: %2', //<br> Point return: %3
		'not_enough_cash_to_join_tournament'	=> 'You are not enough cash to join this tournament',
		'your_stake_less_than_min_coin'	=> 'Minimum of only %2 coins are accepted. Your coins stake: %1.',
		'your_stake_greater_than_limit_coin_stake' => 'Your total coins staked in this tournament: %1 is greater than limit coins stake: %2',
		'question_join_in_new_tournament'	=> 'Would you like to join the Tournament, an Entry Fee of %1INR will be deducted?',
		'answer_value_not_valid'		=> 'Your answer not valid',
		'coins_add_to_your_balance'		=> 'Thank you for joining the Tournament. %1 Coins has been credited to your Coin balance. You can start Playing the Game now.',
		'fill_full_boxes_err'       => 'Kindly fill all the Boxes and click Predict Button',
		
		'fe_D_defined'	=> 'D Refers to Range Difference. Here you can Enter up to a Range difference of %1. Example: From 60 Runs to %2 Runs',
		'fe_P_defined'	=> 'P refers to Probability Points. It may Increase or Decrease as the match goes on depending on the state of the match.',
		'upcoming_match_notify' => 'These are just pre-match Events, Lot more Events will be added "Over by Over" during the Live match. Please don\'t forget to check back.',	
		'max_coins_bet_limit'	=> 'Unsuccessful: Maximum of Only %1 CX Coins are allowed to Predict on an a single Event',	
		
	);
}










function defineFeedArrayData(){
	return array(
		'Livescore'	=> array(
			'livescore' =>  array('title'=> 'Livescore', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/livescore'),
			//'live'	=> array('title'=> 'Live', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/live'),
			'asia_cup'	=> array('title'=> 'Asia Cup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/asia_cup'),
			'australia'	=> array('title'=> 'Australia', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/australia'),
			'england'	=> array('title'=> 'England', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/england'),
			'home'	=> array('title'=> 'Home', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/home'),
			'icc_champ'	=> array('title'=> 'ICC Champ', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/icc_champ'),
			'india'	=> array('title'=> 'India', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/india'),
			'intl_odi'	=> array('title'=> 'INTL ODI', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/intl_odi'),
			'intl_t20'	=> array('title'=> 'INTL T20', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/intl_t20'),
			'intl_test'	=> array('title'=> 'INTL TEST', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/intl_test'),
			'lastweek'	=> array('title'=> 'Lastweek', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/lastweek'),
			'latest'	=> array('title'=> 'Latest', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/latest'),
			'nextweek'	=> array('title'=> 'Next week', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/nextweek'),
			'pakistan'	=> array('title'=> 'Pakistan', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/pakistan'),
			'south_africa'	=> array('title'=> 'South Africa', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/south_africa'),
			'thisweek'	=> array('title'=> 'This Week', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/thisweek'),
			'today'	=> array('title'=> 'Today', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/today'),
			'tomorrow'	=> array('title'=> 'Tomorrow', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/tomorrow'),
			'wc_odi'	=> array('title'=> 'WC ODI', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/wc_odi'),
			'wc_odi_f'	=> array('title'=> 'WC ODI F', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/wc_odi_f'),
			'wc_t20'	=> array('title'=> 'WC T20', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/wc_t20'),
			'wc_t20_f'	=> array('title'=> 'WC T20 F', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/wc_t20_f'),
			'yesterday'	=> array('title'=> 'Yesterday', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricket/yesterday'),
		),
		'Fixtures'	=> array(
			'big_bash'	=> array('title'=> 'Big bash', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/australia/big_bash'),
			'ryobi_oneday_cup'	=> array('title'=> 'Ryobi oneday cup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/australia/ryobi_oneday_cup'),
			'sheffield_shield'	=> array('title'=> 'Sheffield shield', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/australia/sheffield_shield'),
			'national_league'	=> array('title'=> 'National league', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/bangladesh/national_league'),
			'national_league_oneday'	=> array('title'=> 'National league oneday', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/bangladesh/national_league_oneday'),
			'cb40'	=> array('title'=> 'CB40', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/england/cb40'),
			'ccdiv1'	=> array('title'=> 'CCDIV1', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/england/ccdiv1'),
			'ccdiv2'	=> array('title'=> 'CCDIV2', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/england/ccdiv2'),
			'provident'	=> array('title'=> 'Provident', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/england/provident'),
			'bcci_corporate_trophy'	=> array('title'=> 'Bcci corporate trophy', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/india/bcci_corporate_trophy'),
			'ipl'	=> array('title'=> 'IPL', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/india/ipl'),
			'icc_cup'	=> array('title'=> 'ICC cup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/intl/icc_cup'),
			'icc_shield'	=> array('title'=> 'ICC shield', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/intl/icc_shield'),
			'icc_wcl_div_four'	=> array('title'=> 'ICC WCL DIV FOUR', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/intl/icc_wcl_div_four'),
			'icc_worldcup'	=> array('title'=> 'ICC worldcup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/intl/icc_worldcup'),
			'icc_worldcup_warmup'	=> array('title'=> 'ICC worldcup warmup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/intl/icc_worldcup_warmup'),
			't20champions'	=> array('title'=> 'T20 champions', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/intl/t20champions'),
			'hrv_cup'	=> array('title'=> 'HRV cup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/new_zealand/hrv_cup'),
			'plunket_shield'	=> array('title'=> 'Plunket shield', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/new_zealand/plunket_shield'),
			'faysal_cup'	=> array('title'=> 'Faysal cup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/pakistan/faysal_cup'),
			'quaid_e_azam1'	=> array('title'=> 'Quaid e azam1', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/pakistan/quaid_e_azam1'),
			'quaid_e_azam2'	=> array('title'=> 'Quaid e azam2', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/pakistan/quaid_e_azam2'),
			'mtn40'	=> array('title'=> 'MTN40', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/south_aftica/mtn40'),
			'pro20'	=> array('title'=> 'PRO20', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/south_aftica/pro20'),
			'prov1day'	=> array('title'=> 'Prov1day', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/south_aftica/prov1day'),
			'prov3day'	=> array('title'=> 'Prov3day', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/south_aftica/prov3day'),
			'supersport_series'	=> array('title'=> 'Supersport series', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/south_aftica/supersport_series'),
			'plot_a'	=> array('title'=> 'Plot a', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/sri_lanka/plot_a'),
			'premier_league_a'	=> array('title'=> 'Premier league a', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/sri_lanka/premier_league_a'),
			'premier_league_b'	=> array('title'=> 'Premier league b', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/sri_lanka/premier_league_b'),
			'ashes'	=> array('title'=> 'Ashes', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/ashes'),
			'india_v_england'	=> array('title'=> 'India v England', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/india_v_england'),
			'india_v_southafrica'	=> array('title'=> 'India v Southafrica', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/india_v_southafrica'),
			'india_v_westindies'	=> array('title'=> 'India v westindies', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/india_v_westindies'),
			'nzealand_v_india'	=> array('title'=> 'Nzealand v india', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/nzealand_v_india'),
			'pakistan_a_v_westindies'	=> array('title'=> 'Pakistan a v westindies', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/pakistan_a_v_westindies'),
			'pakistan_in_newzealand'	=> array('title'=> 'Pakistan in newzealand', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/pakistan_in_newzealand'),
			'pakistan_in_westindies'	=> array('title'=> 'Pakistan in westindies', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/pakistan_in_westindies'),
			'southafrica_v_pakistan'	=> array('title'=> 'Southafrica v pakistan', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/southafrica_v_pakistan'),
			'srilanka_in_england'	=> array('title'=> 'Srilanka in England', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/srilanka_in_england'),
			'srilanka_v_australia'	=> array('title'=> 'Srilanka v australia', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/srilanka_v_australia'),
			'uganda_v_namibia'	=> array('title'=> 'Uganda v Namibia', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/uganda_v_namibia'),
			'westindies_v_srilanka'	=> array('title'=> 'Ưestindies v srilanka', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/westindies_v_srilanka'),
			'zimbabwe_v_bangladesh'	=> array('title'=> 'Zimbabwe v Bangladesh', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/zimbabwe_v_bangladesh'),
			'zimbabwe_v_southafrica'	=> array('title'=> 'Zimbabwe v Southafrica', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/tours/zimbabwe_v_southafrica'),
			'board_cup'	=> array('title'=> 'Board Cup', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/west_indies/board_cup'),
			'carib_t20'	=> array('title'=> 'Carib T20', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/west_indies/carib_t20'),
			'regional'	=> array('title'=> 'Regional', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/west_indies/regional'),
			'castle_logan'	=> array('title'=> 'Castle logan', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/zimbabwe/castle_logan'),
			'metabank'	=> array('title'=> 'Metabank', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/zimbabwe/metabank'),
			'stanbic'	=> array('title'=> 'Stanbic', 'link'=> 'http://www.goalserve.com/getfeed/4432f2d8a7a1461f8b05f1537477d3f2/cricketfixtures/zimbabwe/stanbic'),
			
		)
	);
}




